import { axios } from '@/utils/request'

//我的系统-分页列表查询
export function getSystemList(data) {
  return axios({
    url: '/business/mysystem/buSjfwSystem/list',
    method: 'get',
    data: data
  })
}
//我的系统-添加
export function AddSystem(data) {
  return axios({
    url: '/business/mysystem/buSjfwSystem/add',
    method: 'post',
    data: data
  })
}
//我的系统-通过id查询
export function getSystemByid(data) {
  return axios({
    url: '/business/mysystem/buSjfwSystem/queryById',
    method: 'get',
    params: data
  })
}
//我的系统-查询当前登录用户创建系统信息
export function getMySystemInfo(data) {
  return axios({
    url: '/business/mysystem/buSjfwSystem/queryMySystemByUser',
    method: 'get',
  })
}
//我的系统-编辑
export function EditSystem(data) {
  return axios({
    url: '/business/mysystem/buSjfwSystem/edit',
    method: 'put',
    data: data
  })
}